Skip to content

build(pyproject): adopt PEP 639 license metadata#419

Merged
anyangml merged 3 commits intodeepmodeling:mainfrom
njzjz-bothub:openclaw/pep639-license
Apr 7, 2026
Merged

build(pyproject): adopt PEP 639 license metadata#419
anyangml merged 3 commits intodeepmodeling:mainfrom
njzjz-bothub:openclaw/pep639-license

Conversation

@njzjz-bot
Copy link
Copy Markdown
Contributor

Problem

  • Several packages still use deprecated table-based project.license metadata.
  • PEP 639 standardizes SPDX license plus license-files.

Change

  • Replace deprecated project.license = {{file/text = ...}} with an SPDX expression.
  • Add project.license-files.
  • Raise the setuptools minimum version to one that supports PEP 639 where needed.

Notes

  • This change is metadata-only and does not alter runtime behavior.

Authored by OpenClaw (model: gpt-5.4)

Use SPDX license expressions and add license-files in pyproject.toml.
Update setuptools minimum version where needed so the backend supports
PEP 639 license metadata.

Authored by OpenClaw (model: gpt-5.4)
Setuptools rejects legacy License :: classifiers when a PEP 639
license expression is present. Remove the classifier and keep the
SPDX license metadata.

Authored by OpenClaw (model: gpt-5.4)
Run ruff format to satisfy the repository pre-commit hooks.

Authored by OpenClaw (model: gpt-5.4)
@anyangml anyangml merged commit d9866f3 into deepmodeling:main Apr 7, 2026
2 checks passed
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.27%. Comparing base (6cf0b35) to head (323802b).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #419   +/-   ##
=======================================
  Coverage   64.27%   64.27%           
=======================================
  Files          35       35           
  Lines        1657     1657           
  Branches      205      205           
=======================================
  Hits         1065     1065           
  Misses        548      548           
  Partials       44       44           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants